using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using KBEngine;
using System.Linq;

class ConstDef
{
	public static Int32 PlayCardNeedPlayerNum = 3;
}


class VarType
{

	public static Dictionary<SByte, string> Num2String = new Dictionary<SByte, string>{
		{1   ,"STRING" },
		{2   ,"INT8"},
		{4   ,"DOUBLE"},
		{5   ,"FLOAT"},
		{7   ,"INT16"},
		{8   ,"INT32"},
		{9   ,"INT64"},
		{11 , "UNICODE"},
		{12 , "UINT8"},
		{13 , "UINT16"},
		{14 , "UINT32"},
		{15 , "UINT64" },
		{16 , "VECTOR3"},
		{17 , "VECTOR2"},
		{18 , "VECTOR4"}
	};

	public static Dictionary<string, SByte> String2Num = new Dictionary<string, SByte>{
		{"STRING"  , 1 } ,
		{"INT8"    , 2 },
		{"DOUBLE"  , 4 },
		{"FLOAT"   , 5} ,
		{"INT16"   , 7} ,
		{"INT32"   , 8} ,
		{"INT64"   , 9} ,
		{"UNICODE" , 11},
		{"UINT8"   , 12},
		{"UINT16"  , 13},
		{"UINT32"  , 14},
		{"UINT64"  , 15},
		{"VECTOR3" , 16},
		{"VECTOR2" , 17},
		{ "VECTOR4" , 18}
	};

}